Conversation
binding.gyp
Outdated
| 'target_name': 'conpty', | ||
| 'sources' : [ | ||
| 'src/win/conpty.cc', | ||
| 'src/win/conpty_backend.cc', |
There was a problem hiding this comment.
Is it target_name we need to change as well to change the .node file, then an update here is needed too:
node-pty/src/windowsPtyAgent.ts
Lines 64 to 93 in 467cea0
There was a problem hiding this comment.
We just need to figure out why CI is failing now. See the error at https://dev.azure.com/vscode/node-pty/_build/results?buildId=147363&view=logs&j=0bc77094-9fcd-5c38-f6e4-27d2ae131589&t=2917e7a9-bb9d-585b-890e-1ad69b6f3f65&l=976
There was a problem hiding this comment.
Name should be updated in
node-pty/scripts/post-install.js
Lines 10 to 11 in 090384f
There was a problem hiding this comment.
Hello @deepak1556
I have updated the post-install script, but it is still not working.
|
Hello @Tyriar |
|
That error means that the expected compile |
I will try to look at it more |
binding.gyp
Outdated
| 'target_name': 'conpty_backend', | ||
| 'sources' : [ | ||
| 'src/win/conpty.cc', | ||
| 'src/win/conpty_backend.cc', |
There was a problem hiding this comment.
changing the target name is sufficient to achieve the required result, lets keep the source file names unchanged.
binding.gyp
Outdated
| ], | ||
| 'sources' : [ | ||
| 'src/win/winpty.cc', | ||
| 'src/win/winpty_backend.cc', |
There was a problem hiding this comment.
Not required for the scope of this PR, lets revert this.
| const destFolder = path.join(RELEASE_DIR, 'conpty'); | ||
| const destFolder = path.join(RELEASE_DIR, 'conpty_backend'); | ||
| fs.mkdirSync(destFolder, { recursive: true }); | ||
| for (const file of ['conpty.dll', 'OpenConsole.exe']) { |
There was a problem hiding this comment.
These should not be renamed, they are prebuilt binaries from conpty library.
|
There is one another place to update Line 171 in bfbd943 |
fix #701